home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK2.toast / Development Kits (Disc 2) / QuickTime Conferencing / Programming Stuff / Other Documentation / H.261 Tech Note next >
Encoding:
Text File  |  1995-07-10  |  2.5 KB  |  53 lines  |  [ttro/ttxt]

  1.  
  2.        ITU-T H.261 VIDEO CONFERENCING COMPONENT
  3.                               Developer's Tech Note:
  4.                      Deep Stuff beyond the User's Guide
  5.  
  6.  
  7. QT Component Info
  8.  
  9. H.261 Component SubType ('thng' resource)
  10.  
  11. As of  v1.0f2, the component subtype (for both the compressor and decompressor) is 'h261'.  All previous versions use the subtype 'argo'. 
  12.  
  13. H.261 Component Version ('cdci' resource)
  14.  
  15. As of v1.0b2, the component version is 1. All previous versions use version number 0.
  16.  
  17. H.261 Component Revision ('cdci' resource):
  18. Revision 0.
  19.  
  20. Platform Support:
  21. H.261 component registers only in the PowerMac enviroment.
  22.  
  23.  
  24. The Way Things Are
  25.  
  26. Word/Byte alignment of Bitstream
  27.  
  28. H.261 decoders in versions 1.0f4 and later are capable of decoding bitstreams that are not word/byte aligned. The decoder searches for the first Picture Start Code (PSC = 0x00010) instead of assuming that the PSC is aligned at the beginning of the buffer. When supplying a non-aligned bitstream to the decoder, care must be taken to insure that the first few garbage bits do not contribute to a false detection of a PSC.
  29.  
  30. For example, if the first 16 bits are garbage but happen to be 0x0001, and the next twenty bits are the real PSC (bitstream = 0x000100010...), the decoder will find see a false PSC at the beginning.
  31.  
  32. Special Frame Delineation for QT compatibility
  33.  
  34. The QT H.261 encoder currently appends a Picture Start Code (PSC) and padding to the nearest word at the end of each frame.  This was one solution for accomodating the standard image compression manager's scheme of encoding/decoding on frame boundaries. The QT H.261 decoder uses the PSC at the end of the frame to determine when the data for one frame has ended.
  35.  
  36. Keyframes
  37.  
  38. The H.261 standard does not specify that keyframes be sent at regular intervals. Technically, keyframes are necessary only at the very first frame and whenever requested by the decoder (signalled through an extraneous control mechanism).
  39.  
  40. No BCH  
  41.  
  42. BCH forward error correction is not implemented in this version.
  43.  
  44. Issues to be Resolved
  45.  
  46. Frame Rates and Bit Rates
  47.  
  48. The H.261 codec assumes that it is achieving a frame rate of 10 fps. Thus, given a particular bit rate (user specified via the spatial quality value), it computes the target frame size as 
  49.  
  50.          bit rate / 10.
  51.  
  52. For codecs achieving less than 10 fps, the effective bit rate is less than the specified bit rate. On the other hand, for codecs achieving greater than 10 fps, the effective bit rate exceeds the specified bit rate. 
  53.